import { User } from '@/common/controller/user';
import { Router } from '@/common/router';
import Enum from './uilts/enum';

export class Cheese {
    // 枚举模块
    public static readonly Enum = Enum;
    // 路由模块
    public static readonly Router = Router;
    // 小程序版本
    public static version = '1.0.4';
    // 用户模块
    public User: User;

    public constructor(env: any) {
        this.User = new User();
    }

    private init() {

    }
}

export default new Cheese((import.meta as any).env.MODE);